package br.com.bancodecurriculos.pessoa.comum.dao;

import java.io.IOException;
import java.sql.SQLException;
import java.util.List;

import br.com.bancodecurriculos.pessoa.comum.dominio.Telefone;
import br.com.bancodecurriculos.pessoa.comum.dominio.Telefone.TipoTelefone;
import br.com.bancodecurriculos.util.dao.IGenericDAO;
import br.com.bancodecurriculos.util.exception.RegistroExistenteException;

public interface ITelefoneDAOHelper extends IGenericDAO<Long, Telefone> {

	public void save(Telefone t, long idPessoa) throws ClassNotFoundException,
			SQLException, RegistroExistenteException, IOException;

	public List<Telefone> getByIdPessoa(long id) throws ClassNotFoundException,
			SQLException, IOException;

	public List<TipoTelefone> getAllTipoTelefone()
			throws ClassNotFoundException, SQLException, IOException;

}
